
|
FAQ汇萃
>> solaris 专栏
>> Ten common Solstice Disksuite questions [查看别人的评论] 由 fei 发布于: 2001-02-12 13:50
1. Which version of DiskSuite runs on SunOS 4.1.4? (rootdev:pseudo/md:0,blk) # vi /a/etc/vfstab change metadevice name to physical disk partition for all file systems associated with booting # mv /a/etc/opt/SUNWmd/etc/mddb.cf /a/etc/opt/SUNWmd/prob.mddb.cf # umount /a # fsck /dev/rdsk/c0t3d0s0 # reboot 7. How do I check the status of the state database replicas? Use the metadb command to find the state of the Disksuite replicas. If a replica is in need of attention, the flags will report appropriately. Often the SDS metatool will report the replicas to be in a critical state when metadb reports no problems. # metadb -i flags first blk block count a m pc luo 16 1034 /dev/dsk/c1t5d0s4 a pc luo 1050 1034 /dev/dsk/c1t5d0s4 a pc luo 2084 1034 /dev/dsk/c1t5d0s4 o - replica active prior to last mddb configuration change u - replica is up to date l - locator for this replica was read successfully c - replica's location was in /etc/opt/SUNWmd/mddb.cf p - replica's location was patched in kernel m - replica is master, this is replica selected as input W - replica has device write errors a - replica is active, commits are occurring to this replica M - replica had problem with master blocks D - replica had problem with data blocks F - replica had format problems S - replica is too small to hold current data base R - replica had device read errors 8. How are disksets used? A shared diskset is a grouping of two hosts and disk drives in which all the drives are accessible by both hosts. Disksuite requires that the device name be identical on each host in the diskset. There is one metadevice state database per shared diskset and one on the local disks of each host. Before you can begin to create or administer disksets, the disksuite software must be installed on each host in the diskset and each host must have local database replicas set up. In addition, all disks that you plan to share between hosts in the diskset must be connected to each host and must have the same name (shared_diskset name) on each host. 9. How do I create more than 128 meta devices? Edit the file /kernel/drv/md.conf file and change the "nmd" field from nmd=128 to whatever amount is needed (i.e., 255). Then boot -r to build these new devices. 10. How do I metainit a RAID5 device? metainit d0 -r c2t0d0s4 c2t2d0s4 c2t4d0s4 c2t0d4s4 c2t3d1s4 -k -i 32b If you omit the -k option data loss will occur. This only applies to existing RAID5 metadevices, not new ones. |
该文章总得分是 0 分,你认为它对你有帮助吗? [非常多](0) [有一些](0) [无帮助](0) [是灌水](0)